﻿using Dz.WorkerService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dz.WorkerService
{
    public class TaskUtils : BaseTaskItem
    {
        public TaskUtils(string name, TimeSpan interval) : base(name, interval)
        {
        }

        protected override Task Process()
        {
            CustUtils.Instance.ReLoad();
            DeptUtils.Instance.ReLoad();
            InvUtils.Instance.ReLoad();
            TaxScheduleUtils.Instance.ReLoad(); 
            WarehouseUtils.Instance.ReLoad();   

            return Task.CompletedTask;
        }
    }
}
